#include "mythread.hpp"

void threadRoutine(void* args)
{

}

int main()
{
    Thread t1(1, threadRoutine, nullptr);
    cout << "thread ID: " << t1.getTID() << " thread name " << t1.getName() << " thread status " << (int)t1.getStatus() << endl;
    t1.run();
    cout << "thread ID: " << t1.getTID() << " thread name " << t1.getName() << " thread status " << (int)t1.getStatus() << endl;
    t1.join();
    cout << "thread ID: " << t1.getTID() << " thread name " << t1.getName() << " thread status " << (int)t1.getStatus() << endl;
    return 0;
}
